import requests

cookies = {
    'csrftoken': 'fe184785015b5c71192ea2a73e44a39e',
    '_ga': 'GA1.2.1454199130.1716860699',
    '_gat': '1',
    'sajssdk_2015_cross_new_user': '1',
    'auth_token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MjMyMjEwOTczLCJleHAiOjE3MTc3MjUxNzUsImV4cF92MiI6MTcxNzcyNTE3NSwiZGV2aWNlIjoiIiwidXNlcm5hbWUiOiJRcV9iMDgwMDBlYWZjNGMwZGQ0IiwiaXNfc3RhZmYiOjAsInNlc3Npb25faWQiOiI0ZGUwZThmNjFjOTQxMWVmYmNiYjNlMjhlM2VkZjhiNCJ9.da7tBU3UO91veBaUtRlbyfbT5nlsnaFqrQlHs3S5Tww',
    'sensorsdata2015jssdkcross': '%7B%22distinct_id%22%3A%22dkzucr%22%2C%22first_id%22%3A%2218fbcdf436e5cf-0061e028e56901-26001c51-1327104-18fbcdf436f16c3%22%2C%22props%22%3A%7B%22%24latest_traffic_source_type%22%3A%22%E7%A4%BE%E4%BA%A4%E7%BD%91%E7%AB%99%E6%B5%81%E9%87%8F%22%2C%22%24latest_search_keyword%22%3A%22%E6%9C%AA%E5%8F%96%E5%88%B0%E5%80%BC%22%2C%22%24latest_referrer%22%3A%22https%3A%2F%2Fopen.weixin.qq.com%2F%22%7D%2C%22%24device_id%22%3A%2218fbcdf436e5cf-0061e028e56901-26001c51-1327104-18fbcdf436f16c3%22%7D',
    'tfstk': 'frLKKbMshADhysnkRBiMUjw-SDliOedeXpRbrTX3Vdp9GKhPV9Yly3pJeWjSLwYJBI9NZUX3-zIRCTWQ-Tfhw466Hg4lqkVebKAb-emFrzQFzaMmnq0DtB7PPKcULMrFCs1orzsByA2qkaMmnV2H57JhP3qUPaI91O5ROJ6WFla1Q_UQRL6CfR1Aga6WFaGOCsffOT1CNNN1gXrL9TVCezLgwko2984UyzLO1YWX9DzOZhfdvtOBJurzG6IdhB6tn7RHtGOP2UPzyMAB0L5XdJMdPCCvHspKq7WpfIYHVB3thwYeOnsWlYrWHwpRcesTNzdF-TQO1EGu0OYOKLTdfj4AqNTccwtibvjlJspW8pF8PKOMieSwyxe1UHfV56pSlAIrqEYx0EecH_qI6fEz4M1GCl9i3b6l_M1Onfqg4uSG_1Bm6fEz4M1N6tciourPj15..',
}

headers = {
    'accept': 'application/json, text/plain, */*',
    'accept-language': 'zh-CN,zh;q=0.9',
    'cache-control': 'no-cache',
    # 'cookie': 'csrftoken=fe184785015b5c71192ea2a73e44a39e; _ga=GA1.2.1454199130.1716860699; _gat=1; sajssdk_2015_cross_new_user=1; auth_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MjMyMjEwOTczLCJleHAiOjE3MTc3MjUxNzUsImV4cF92MiI6MTcxNzcyNTE3NSwiZGV2aWNlIjoiIiwidXNlcm5hbWUiOiJRcV9iMDgwMDBlYWZjNGMwZGQ0IiwiaXNfc3RhZmYiOjAsInNlc3Npb25faWQiOiI0ZGUwZThmNjFjOTQxMWVmYmNiYjNlMjhlM2VkZjhiNCJ9.da7tBU3UO91veBaUtRlbyfbT5nlsnaFqrQlHs3S5Tww; sensorsdata2015jssdkcross=%7B%22distinct_id%22%3A%22dkzucr%22%2C%22first_id%22%3A%2218fbcdf436e5cf-0061e028e56901-26001c51-1327104-18fbcdf436f16c3%22%2C%22props%22%3A%7B%22%24latest_traffic_source_type%22%3A%22%E7%A4%BE%E4%BA%A4%E7%BD%91%E7%AB%99%E6%B5%81%E9%87%8F%22%2C%22%24latest_search_keyword%22%3A%22%E6%9C%AA%E5%8F%96%E5%88%B0%E5%80%BC%22%2C%22%24latest_referrer%22%3A%22https%3A%2F%2Fopen.weixin.qq.com%2F%22%7D%2C%22%24device_id%22%3A%2218fbcdf436e5cf-0061e028e56901-26001c51-1327104-18fbcdf436f16c3%22%7D; tfstk=frLKKbMshADhysnkRBiMUjw-SDliOedeXpRbrTX3Vdp9GKhPV9Yly3pJeWjSLwYJBI9NZUX3-zIRCTWQ-Tfhw466Hg4lqkVebKAb-emFrzQFzaMmnq0DtB7PPKcULMrFCs1orzsByA2qkaMmnV2H57JhP3qUPaI91O5ROJ6WFla1Q_UQRL6CfR1Aga6WFaGOCsffOT1CNNN1gXrL9TVCezLgwko2984UyzLO1YWX9DzOZhfdvtOBJurzG6IdhB6tn7RHtGOP2UPzyMAB0L5XdJMdPCCvHspKq7WpfIYHVB3thwYeOnsWlYrWHwpRcesTNzdF-TQO1EGu0OYOKLTdfj4AqNTccwtibvjlJspW8pF8PKOMieSwyxe1UHfV56pSlAIrqEYx0EecH_qI6fEz4M1GCl9i3b6l_M1Onfqg4uSG_1Bm6fEz4M1N6tciourPj15..',
    'origin': 'https://web.shanbay.com',
    'pragma': 'no-cache',
    'priority': 'u=1, i',
    'referer': 'https://web.shanbay.com/',
    'sec-ch-ua': '"Google Chrome";v="125", "Chromium";v="125", "Not.A/Brand";v="24"',
    'sec-ch-ua-mobile': '?0',
    'sec-ch-ua-platform': '"Windows"',
    'sec-fetch-dest': 'empty',
    'sec-fetch-mode': 'cors',
    'sec-fetch-site': 'same-site',
    'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36',
    'x-csrftoken': 'fe184785015b5c71192ea2a73e44a39e',
}

params = {
    'ipp': '10',
    'page': '2',
    'type_of': 'NEW',
}

response = requests.get(
    'https://apiv3.shanbay.com/wordsapp/user_material_books/odihq/learning/words/today_learning_items',
    params=params,
    cookies=cookies,
    headers=headers,
)
print(response.text)